package com.coachtam.sjcar.pojo;


import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name = "route")
public class Route {
  @Id
  @KeySql(useGeneratedKeys = true)
  private Long id;
  private String title;
  private Long days;
  private String dest;
  private String source;
  private Integer peoples;
  private Integer cars;
  private String needCar;
  private Date publishDate;
  private String uid;
  private String description;
  private Integer accessCount;
}
